package com.edu.entity;

public class Comments {
	private int comId;
	private String comText;
	private String comDate;
	private int articleId;
	private String userAccount;
	
	public int getComId() {
		return comId;
	}

	public void setComId(int comId) {
		this.comId = comId;
	}

	public String getComText() {
		return comText;
	}

	public void setComText(String comText) {
		this.comText = comText;
	}

	public String getComDate() {
		return comDate;
	}

	public void setComDate(String comDate) {
		this.comDate = comDate;
	}

	public int getArticleId() {
		return articleId;
	}

	public void setArticleId(int articleId) {
		this.articleId = articleId;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}
	

	@Override
	public String toString() {
		return "Comment [comId=" + comId + ", comText=" + comText + ", comDate=" + comDate + ", articleId=" + articleId
				+ ", userAccount=" + userAccount + "]";
	}

	/**
	 * @param comId
	 * @param comText
	 * @param comDate
	 * @param articleId
	 * @param userAccount
	 */
	public Comments(int comId, String comText, String comDate, int articleId, String userAccount) {
		super();
		this.comId = comId;
		this.comText = comText;
		this.comDate = comDate;
		this.articleId = articleId;
		this.userAccount = userAccount;
	}
	

}
